package com.niit.service;

import com.niit.entity.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.rmi.StubNotFoundException;
import java.util.List;

public interface StudentService {
    Student queryById(String sid);
    Page<Student> queryByPage(Student student, PageRequest pageRequest);
    Student insert(Student student);
    Student update(Student student);
    boolean deleteById(String sid);
    List<Student> queryByConditions(Student student);

}
